﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Csnid.Web.UI.WebControls.TreeListView;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        TreeListView.TreeImageFolder = "images/Tree/";
        this.tlm.RootNodeFlag = 0;
        //这里设定数据垣
        DataSet ds = new DataSet();
        ds.ReadXml(AppDomain.CurrentDomain.BaseDirectory + "\\App_Data\\data.xml", XmlReadMode.Auto);
        this.tlm.DataSource = ds;
        this.tlm.DataBind();
    }
}
